<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Author extends Model
{
    //
    protected $table = 'author';
    protected $timestamp = false;
    public function article()
    {
        return $this->hasMany('App\Article','author_id','id');
    }
}
